* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  background-color: $background-color;
  color: $text-color;
}

// 通用样式类
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }

.p-xs { padding: $padding-xs; }
.p-sm { padding: $padding-sm; }
.p-md { padding: $padding-md; }
.p-lg { padding: $padding-lg; }

.m-xs { margin: $padding-xs; }
.m-sm { margin: $padding-sm; }
.m-md { margin: $padding-md; }
.m-lg { margin: $padding-lg; }

.rounded { border-radius: $border-radius-md; }
.rounded-lg { border-radius: $border-radius-lg; }

.bg-white { background-color: $white; }
.text-primary { color: $primary-color; }
.text-gray { color: $text-color-2; }